package cn.jluzh.blog.modules.category.service;

import cn.jluzh.blog.modules.category.entity.SysCategory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface CategoryService extends IService<SysCategory> {
    List<SysCategory> getAllCategory();

    SysCategory getCategoryById(Integer id);

    List<SysCategory> getAllCategoryByName(String query);
}
